package com.food.user.exception.storeInfoException;

public enum StoreInfoExceptionCode {
    STORE_INFO_IS_NOT_EXIST(4001,"该商铺信息不存在"),
    STORE_STATE_ALREADY_NORMAL(4002,"该商铺已被激活"),
    STORE_STATE_ALREADY_DISABLE(4003,"该商铺已被冻结"),
    OPERATE_BUSY(4004,"操作频繁"),
    ILLEGAL_OPERATION(4005,"非法操作");

    ;
    Integer code;
    String message;

    StoreInfoExceptionCode(Integer code, String message){
        this.code=code;
        this.message=message;
    }

    public Integer getCode(){return code;}
    public String getMessage(){return message;}
}
